package club.pchome.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import club.pchome.mapper.InterfaceMapper;
import club.pchome.model.InterfaceDto;

@Service
public class InterfaceService {

	@Autowired
	InterfaceMapper interfaceDtoMapper;
	
	public int insert(InterfaceDto record) {
		return interfaceDtoMapper.insert(record);
	}
	
	public int updateUseNum() {
		return interfaceDtoMapper.updateUseNum();
	}
}
